#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include <stack>
#include <string>
#include <vector>
#include <queue>
#include <unordered_map>
using namespace std;

class Solution {
public:
    vector<string> splitString(const string& str, char delimiter) {
        vector<string> tokens;
        stringstream ss(str);
        string token;
        while (getline(ss, token, delimiter)) {
            tokens.push_back(token);
        }


        return tokens;
    }
    vector<string> uncommonFromSentences(string s1, string s2) {
        vector<string> ret;
        vector<string> st1 = splitString(s1, ' ');
        vector<string> st2 = splitString(s2, ' ');
        unordered_map<string, int> mp;
        for (auto e : st1)
        {
            mp[e]++;
        }
        for (auto e : st2)
        {
            mp[e]++;
        }
        for (auto e : mp)
        {
            if (e.second == 1)
            {
                ret.push_back(e.first);
            }
        }
        return ret;
    }
};


int main()
{
	return 0;
}
